import { createStore } from 'vuex'

export default createStore({
  state: {
    playlist: [],
    playCurrentIndex: 0,
    curSongId: 33894312
  },
  getters: {
  },
  mutations: {
    setPlayList(state, playload) {
      state.playlist = playload;
    },
    setSongId(state, payload) {
      state.curSongId = payload;
    }
  },
  actions: {
  },
  modules: {
  }
})
